#pragma once
#include "d3dx9.h"

class CGameLight
{
public:
	CGameLight(void);
	~CGameLight(void);
	void SetPointLight(IDirect3DDevice9 *device, D3DXVECTOR3 &position, D3DXCOLOR color);
	void SetSpotLight(IDirect3DDevice9 *device,D3DXVECTOR3 &position, D3DXVECTOR3 &direction, D3DXCOLOR color);
	void SetDirectionLight(IDirect3DDevice9 *device, D3DXVECTOR3 &direction, D3DXCOLOR color);
private:
	D3DLIGHT9 d3dlight;
};
